package core

import (
	hf_fab_pvdr "github.com/hyperledger/fabric-sdk-go/pkg/common/providers/fab"
	hf_msp_pvdr "github.com/hyperledger/fabric-sdk-go/pkg/common/providers/msp"
)

type OrganizationConfig struct {
	Name string
	hf_fab_pvdr.OrganizationConfig
}

type ClientContext interface {
	hf_fab_pvdr.ClientContext
	OrganizationConfig() OrganizationConfig
}

type ApplicationEngine interface {
	GetClientContext(hf_msp_pvdr.SigningIdentity) (ClientContext, error)
}

type Background interface {
	GetAppEngine(name string) (ApplicationEngine, error)
}
